home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / xlib04.zip / XCLIPPBM.H < prev    next >
Text File  |  1992-11-08  |  1KB  |  42 lines

  1. /*-----------------------------------------------------------------------
  2. ; MODULE XCLIPPBM
  3. ;
  4. ; This module was written by Matthew MacKenzie
  5. ; matm@eng.umd.edu
  6. ;
  7. ; Clipped transfer of planar bitmaps from system memory to video memory.
  8. ;
  9. ; Compile with TASM.
  10. ; C near-callable.
  11. ;
  12. ; ****** XLIB - Mode X graphics library                ****************
  13. ; ******                                               ****************
  14. ; ****** Written By Themie Gouthas                     ****************
  15. ;
  16. ;  Terminology & notes:
  17. ;         VRAM ==   Video RAM
  18. ;         SRAM ==   System RAM
  19. ;         X coordinates are in pixels unless explicitly stated
  20. ;
  21. ;----------------------------------------------------------------------*/
  22.  
  23. #ifndef _XCLIPPBM_H_
  24. #define _XCLIPPBM_H_
  25.  
  26. /* copies a planar bitmap from SRAM to VRAM, with clipping */
  27. extern void x_clip_pbm (int X, int Y, int ScreenOffs, char far * Bitmap);
  28.  
  29. /* copies a planar bitmap from SRAM to VRAM, with clipping -- 0 bytes
  30.    in the bitmap are not copied */
  31. extern void x_clip_masked_pbm (int X, int Y,
  32.                    int ScreenOffs, char far * Bitmap);
  33.  
  34. /* unlike most global variables in Xlib, these are meant to be written to;
  35.    in fact they start off uninitialized -- all values are in pixels */
  36. extern int TopBound;
  37. extern int BottomBound;
  38. extern int LeftBound;
  39. extern int RightBound;
  40.  
  41. #endif
  42.